package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 表单保存方法VO
 * 入科诊断明细表
 * </p>
 *
 * @author zqb
 * @date 2024-07-15 11:11:31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "入科诊断明细表")
public class BHl7RkZdDetailSaveVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 事件id
     */
    @Schema(description = "事件id")
    @NotNull(message = "请填写事件id")
    private Long eventId;
    /**
     * 病人识别号
     */
    @Schema(description = "病人识别号")
    @Size(max = 32, message = "病人识别号长度不能超过{max}")
    private String patientIdent;
    /**
     * 姓名
     */
    @Schema(description = "姓名")
    @Size(max = 64, message = "姓名长度不能超过{max}")
    private String patientName;
    /**
     * 住院号
     */
    @Schema(description = "住院号")
    @Size(max = 32, message = "住院号长度不能超过{max}")
    private String hospitalNumber;
    /**
     * 入科时间
     */
    @Schema(description = "入科时间")
    private LocalDateTime rkTime;
    /**
     * 诊断代码
     */
    @Schema(description = "诊断代码")
    @Size(max = 32, message = "诊断代码长度不能超过{max}")
    private String zdIdent;
    /**
     * 诊断名称
     */
    @Schema(description = "诊断名称")
    @Size(max = 64, message = "诊断名称长度不能超过{max}")
    private String zdName;
    /**
     * 诊断标志A入院F出院
     */
    @Schema(description = "诊断标志A入院F出院")
    @Size(max = 8, message = "诊断标志A入院F出院长度不能超过{max}")
    private String zdSign;
    /**
     * 护理等级
     */
    @Schema(description = "护理等级")
    @Size(max = 8, message = "护理等级长度不能超过{max}")
    private String nursingLevel;



}
